package com.ls.controller.booking;

import com.ls.service.IBookingService;
import com.ls.utils.ResultData;
import io.swagger.annotations.Api;
import lombok.RequiredArgsConstructor;
import lombok.extern.slf4j.Slf4j;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

/**
 * @ClassName BookingAppController
 * @Description h5预定
 *
 * @author pengyu
 * @since 2024-06-28
 */
@Api(value = "h5预定", tags = "h5预定")
@Slf4j
@RestController
@RequiredArgsConstructor
@RequestMapping("/bookingH5")
public class BookingH5Controller {
    private final IBookingService service;
    /**根据id获取预定及联系人信息*/
    @GetMapping("getBookingAndLinkman")
    public ResultData getBookingAndLinkman(Long bookingId){
        return service.getBookingAndLinkman(bookingId);
    }
}
